package com.example.jbp.application.dtos;

import java.util.List;

public class PagedResultDto<T> {
    private long totalCount;

    private List<T> items;

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }

    public PagedResultDto() {}

    public PagedResultDto(long totalCount, List<T> items) {
        this.totalCount = totalCount;
        this.items = items;
    }

}
